package com.meida.module.bus.provider.service.impl.srm;

import com.meida.common.mybatis.base.service.impl.BaseServiceImpl;
import com.meida.module.bus.client.entity.srmapi.basedata.SrmContracts;
import com.meida.module.bus.provider.mapper.srm.SrmContractsMapper;
import com.meida.module.bus.provider.service.srmservice.SrmContractsService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Service
@Transactional(rollbackFor = Exception.class)
public class SrmContractsServiceImpl extends BaseServiceImpl<SrmContractsMapper, SrmContracts> implements SrmContractsService {

    @Override
    public void del_tbl_data(String tblNm, Long projectId) {
        baseMapper.del_tbl_data(tblNm, projectId);
    }

    @Override
    public int update_project(Long projectId) {
        return baseMapper.update_project(projectId);
    }
}
